package com.atguigu.gmall.realtime.utils

import java.util.ResourceBundle

/**
 *
 * 解析文件工具类
 */
object MyPropertiesUtils {
  private val bundle: ResourceBundle = ResourceBundle.getBundle("config")

  def apply(key :String) :String ={
    bundle.getString(key)
  }
}

